<?php

require_once(dirname(__FILE__) . '/../../../php-sql-parser.php');
require_once(dirname(__FILE__) . '/../../test-more.php');

$parser = new PHPSQLParser();
$parser->add_custom_function('my_custom_function');
$sql = 'SELECT my_custom_function(a, b, c) as an_alias';
$parser->parse($sql);
$p = $parser->parsed;
print_r($p);
